#include "Animation.h"


Animation::Animation()
{
}


Animation::~Animation()
{
}


/*virtual*/ void Animation::Initialize(const char * filename)
{

}

/*virtual*/ void Animation::Terminate()
{

}

/*virtual*/ void Animation::Update(float _dt)
{

}

/*virtual*/ void Animation::Render(SGD::Point _position, bool _flipped, float _scale, SGD::Color _color)
{

}

/**************************************************************/
// Restart
//	- start the animation over from frame 0
void Animation::Restart(bool looping, float speed)
{
	// Store the parameters
	m_bLooping = looping;
	m_fSpeed = speed;

	// Reset animation
	m_nCurrFrame = 0;
	m_fTimeWaited = 0.0f;
	m_bPlaying = true;
	m_bFinished = false;
}